Trying to sort the list of services based on updated_at time but getting error as follow:
API documentation: https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1services/get
URL: https://api.pagerduty.com/services?sort_by=updated_at
{
“error”: {
“message”: “Invalid Input Provided”,
“code”: 2001,
“errors”: [
“Sort by must be in name, name:asc, or name:desc.”
]
}
}
#same API works fine for name param
Can someone help me with this?
Regards,
Adarsh Tiwari